<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
  </head>
  <body>
    <p>This has <code>double<span style="white-space: pre-wrap">&#x20;&#x20;</span>spaces<span style="white-space: pre-wrap">&#x20;&#x20;</span>inside</code>, which should be kept.</p>
  </body>
</html>
